package com.css.modules.lawRepo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.css.common.utils.PageUtils;
import com.css.modules.lawRepo.entity.LawRepoLegalCategoryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;

@Mapper
public interface LawRepoLegalCategoryDao extends BaseMapper<LawRepoLegalCategoryEntity> {
    @Select("select * from LAW_REPO_LEGAL_CATEGORY")
    PageUtils queryPage(Map<String, Object> params);
    @Select("select * from LAW_REPO_LEGAL_CATEGORY where KEYWORDS=#{keywords}")
    LawRepoLegalCategoryEntity findByKeywords(String keywords);
    int commonUpdateDelFlagBatch(Map<String, Object> map);
}
